package com.scwatch.core.service;

import com.scwatch.core.domain.Info;
import com.scwatch.core.domain.InfoNode;

import java.util.Collection;
import java.util.List;

public interface InfoNodeService {
	public List<InfoNode> update(Info info, Integer[] nodeIds, Integer nodeId);

	public int moveByNodeId(Collection<Integer> nodeIds, Integer nodeId);

	public void deleteByNodeId(Integer nodeId);

    public List<InfoNode> updateRef(Info info, Integer[] nodeIds, Integer nodeId,Integer sort);

    public String deleteByNodeIdAndInfoId(Integer nodeId,Integer infoId);

    public int updateNodeInfoStickAndPic(Integer targetNodeId,Integer infoId,Boolean isStick,Boolean bigPic);
}
